package com.ruoyi.yuyuan.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 关注类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_follow")
public class Follow {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 关注的用户id
     */
    private Long followUserId;
    /**
     * 关注的用户头像
     */
    private String followUserIcon;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
